package com.vf.admin.client.service;

import com.vf.admin.client.dto.AppRankingDto;
import com.vf.admin.common.splitpage.SplitPageBean;
import com.vf.admin.miaodong.entity.AppMingxiMeilizhi;

import java.util.List;
import java.util.Map;

public interface AppMingxiMeilizhiService {

    public List<AppMingxiMeilizhi> findList(Integer userid, SplitPageBean splitPage);

    public AppMingxiMeilizhi get(Integer id);

    public void save(AppMingxiMeilizhi pojo);
    /**
     * 添加明细
     * @param userid userid
     * @param num 数量
     * @param leixing 类型  1增加  2减少
     * @param beizhu  备注
     */
    public void addMingxi(Integer userid,Integer num,Integer leixing,String beizhu);


    List<AppRankingDto> getRanking(Integer secondType, Map<String, Object> params);

}
